package com.aspose.cells;

public class FontSetting {
   boolean a = true;
   boolean b = true;
   private int e;
   private int f;
   Font c;
   WorksheetCollection d;
   private int g = 9;
   private int h = 7;
   private boolean i;
   private zdx j;

   FontSetting(int startIndex, int length, WorksheetCollection sheets, boolean isInShape) {
      this.e = startIndex;
      this.f = length;
      this.d = sheets;
      this.i = isInShape;
   }

   void a(int var1) {
      this.g = var1;
      this.a = false;
   }

   int a() {
      return this.h;
   }

   void b(int var1) {
      this.h = var1;
      this.b = false;
   }

   boolean b() {
      return this.i;
   }

   public int getStartIndex() {
      return this.e;
   }

   public int getLength() {
      return this.f;
   }

   void c(int var1) {
      this.f = var1;
   }

   public Font getFont() {
      if (this.c == null) {
         this.c = new Font(this.d, (Object)null, this.i);
      }

      return this.c;
   }

   Font c() {
      return this.c;
   }

   void a(Font var1) {
      this.c = var1;
   }

   zdx d() {
      if (this.j == null) {
         this.j = new zdx();
      }

      return this.j;
   }

   zdx e() {
      return this.j;
   }

   void a(FontSetting var1) {
      if (var1.c != null) {
         this.getFont().c(var1.getFont());
      } else {
         this.c = null;
      }

      this.f = var1.getLength();
      this.e = var1.e;
      this.g = var1.g;
      this.h = var1.h;
      this.b = var1.b;
      this.a = var1.a;
      if (var1.j != null) {
         this.d().a(var1.j);
      }

   }
}
